<?php 
class AdminProvider extends Module
{
	function AdminProvider($row)
	{
		if(User::is_admin_hotel() || Db_Hotel::get_hotel_ids(User::id()))
		if(User::is_login())
		{
            if(User::is_admin_hotel()){
                Url::redirect_url('pmanage_board.html');
            }
			Module::Module($row);
			require_once 'forms/AdminProvider.php';
			$this->add_form(new AdminProviderForm());
		}
	}
}
?>